
/*
 ============================================================================
 Name        : logger.c
 Author      : James McQueen, Corwyn Simpson, Craig Markham
 Version     :
 Date        : 05/14/2012
 Description : TCSS-422 Operating Systems Scheduler
 ============================================================================
 */

#include "logger.h"

void logger_init(char* fp){
	file = fopen(fp, "wt");
	fprintf(file, "Log file for Team 5 Scheduler\n\n");

}

void logger_msg(char* msg){
	fprintf(file, msg);
	fflush(file);
}

void logger_exit(){
	fclose(file);
}
